<?php

namespace app\miniprogram\controller;

/**
 * 图片列表
 */
class Image extends Base
{
    protected $process = ['Info', 'tysj\\Image'];

    //获取图片列表
    public function list() {
        $this->ajax_process(function($process, $user){
        	return $process->private_list($user);
        });
    } 

    //获取图片选项
    public function get_options() {
    	$options = loadEnum('Image')->get_user_options();
    	$this->success('', $options);
    }
}
